<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>CheckObjectVisibility</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">CheckObjectVisibility()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#006666"><b>CheckObjectVisibility</b></font>(#Camera, ObjectID)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Check if an object is visible from the specified camera 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Camera</i></td>
<td width="90%"> 
 
The camera to use. 

 

</td></tr>
<tr><td><i>ObjectID</i></td>
<td> 
 
The object ID to check the visibility. It can be one of the following type: 
 
<pre><font face="Courier New, Courier, mono"size="2">  - Entity         : use <a href="../entity/entityid.html">EntityID()</a> to get a valid ID.
  - Light          : use <a href="../light/lightid.html">LightID()</a> to get a valid ID.
  - Mesh           : use <a href="../mesh/meshid.html">MeshID()</a> to get a valid ID.
  - Node           : use <a href="../node/nodeid.html">NodeID()</a> to get a valid ID.
  - ParticleEmitter: use <a href="../particle/particleemitterid.html">ParticleEmitterID()</a> to get a valid ID.
  - BillboardGroup : use <a href="../billboard/billboardgroupid.html">BillboardGroupID()</a> to get a valid ID.
  - Text3D         : use <a href="../text3d/text3did.html">Text3DID()</a> to get a valid ID.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns non-zero if the object is visible, returns zero otherwise. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="../camera/createcamera.html">CreateCamera()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=antialiasingmode.html>AntialiasingMode()</a> - <a href=index.html>Engine3D Index</a> - <a href=convertlocaltoworldposition.html>ConvertLocalToWorldPosition()</a> -&gt;



</body></html>